package com.easepal.socketiolib;

import android.os.Binder;

/**
 * 作者: bright.lin@medisana.net.cn
 * 时间: 2018/12/6
 * 标题: WebSocket服务Binder
 * 描述: 用于绑定服务
 * 修改: 由 bright.lin@medisana.net.cn 修改于 2018/12/6
 */
class WebSocketServiceBinder extends Binder {

    // WebSocket服务
    private WebSocketService webSocketService;

    /**
     * 带参构造器
     * @param webSocketService WebSocket服务
     */
    WebSocketServiceBinder(WebSocketService webSocketService) {
        this.webSocketService = webSocketService;
    }

    /*变量getter、setter*/
    WebSocketService getService() {
        return webSocketService;
    }
    /*变量getter、setter*/
}
